home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / newsgroups / misc.19980424-19980901 / 000114_news@newsmaster….columbia.edu _Fri May 22 10:40:52 1998.msg < prev    next >
Internet Message Format  |  1998-08-31  |  6KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA18531
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Fri, 22 May 1998 10:40:51 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id KAA25128
  7.     for kermit.misc@watsun; Fri, 22 May 1998 10:40:50 -0400 (EDT)
  8. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Newsgroups: comp.protocols.kermit.misc,comp.sys.hp48
  11. Subject: Kermit on the HP48 (Was: One-Way Transfer)
  12. Date: 22 May 1998 14:40:45 GMT
  13. Organization: Columbia University
  14. Lines: 108
  15. Message-ID: <6k42pd$a3m$1@apakabar.cc.columbia.edu>
  16. References: <35646665.EBB3868B@theriver.com> <6k1qoj$d92$1@apakabar.cc.columbia.edu> <wkvhqye9g4.fsf@jhuapl.edu>
  17. NNTP-Posting-Host: watsun.cc.columbia.edu
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:8767 comp.sys.hp48:81320
  19.  
  20. In article <wkvhqye9g4.fsf@jhuapl.edu>,
  21. Skip Collins  <collibf1@jhuapl.edu> wrote:
  22. : jaltman@watsun.cc.columbia.edu (Jeffrey Altman) writes:
  23. : > The HP48 can not handle 9600 baud transfers without flow control
  24. : > Turn on XON/XOFF flow control on the calculator and SET FLOW CONTROL
  25. : > XON/XOFF on K95.
  26. : The HP48 Kermit can handle 9600 baud transfers in both directions
  27. : without flow control. I do it all the time. In fact, the calculator
  28. : will automatically _disable_ flow control for Kermit transfers even
  29. : when it is enabled for other serial I/O (I think). There is a 255
  30. : character input buffer. The bare bones Kermit on the HP48 does not
  31. : implement long packets so the buffer is plenty big to handle Kermit
  32. : packets without flow control.
  33. : Last month there was an interesting discussion about the limitations
  34. : of HP48 Kermit on comp.sys.hp48. Search dejanews for Dan Kirkland's
  35. : posts with the subject "Re: a better kermit". Due to a basic flaw in
  36. : the HP ROM kermit, throughput in receiving is slower than it should
  37. : be. Perhaps someone will reimplement the binary receive routing to
  38. : overcome this problem.
  39. : As for the original poster's problem, I have no idea. Perhaps he
  40. : should try mskermit. I works for me.
  41. Thanks for the comp.sys.hp48 reference.  I'm copying this response to that
  42. newsgroup.
  43.  
  44. As noted in an earlier posting in this thread, I would like to straighten
  45. out the massive confusion about Kermit file transfer with the HP-48.  We (at
  46. the Kermit Project) are not HP-48 experts, but we do have an early model
  47. HP-48 for testing.  When we get complaints or questions about file transfer
  48. with the HP-48, we check our answers on it.
  49.  
  50. But we usually find that what works for us fails to work for others, or vice
  51. versa.  No doubt because there are many and varied HP-48 models, ROM
  52. versions, etc etc.
  53.  
  54. I would like to set up an HP-48 resource at the Kermit web site where all
  55. HP-48 users could look to find answers to frequently asked questions, hints
  56. and tips, etc.
  57.  
  58. To that end, first let me suggest that all postings to comp.sys.hp48 be
  59. copied to comp.protocols.kermit.misc so that people who might know more
  60. about the Kermit program on the other end can help out.
  61.  
  62. Second, a few points of clarification on recent comp.sys.hp48 postings:
  63.  
  64.  1. Kermit is not a slow protocol.  The HP-48 implementation of the Kermit
  65.     protocol is slow.  It was written by HP (or whoever HP hired to do it)
  66.     without our knowledge or advice.  For an analysis of Kermit protocol
  67.     performance, see:
  68.  
  69.       http://www.columbia.edu/kermit/newsn6.html#perf
  70.  
  71.  2. Whatever Kermit software might have been provided to HP-48 users by
  72.     HP is not necessarily appropriate.  Current versions of Kermit software
  73.     are found at the Kermit Project website:
  74.  
  75.       http://www.columbia.edu/kermit/
  76.  
  77. Let's see if we can set up a simple set of guidelines for how to set up
  78. Kermit software (on DOS, Windows, UNIX, etc) for communicating with the
  79. HP-48, or for each model thereof, when the models make a difference.
  80.  
  81.  1. The top serial speed is 9600, right?
  82.  
  83.  2. Should the flow control setting be NONE or XON/XOFF?  We have
  84.     conflicting reports (see above).  Obviously the HP-48 *should* be
  85.     exercising some form of flow control, but some reports indicate that
  86.     it does not (even if it is set to do so).
  87.  
  88.  3. Is the link transparent to incoming control characters?  Can the
  89.     client Kermit program use control-character unprefixing when sending
  90.     to the HP-48?  If not, the client program must be told to
  91.     SET CONTROL PREFIX ALL prior to sending files to the HP-48.
  92.  
  93.  4. Does the link allow 8-bit data?  If not, the client must be given
  94.     the appropriate SET PARITY command.
  95.  
  96. The HP-48 does not support long packets; thus the maximum packet length
  97. is 94, but this should be negotiated automatically.
  98.  
  99. The HP communication port is half duplex, meaning that data can go in both
  100. directions, but only in one direction at a time.  Therefore sliding windows
  101. can not be used (this too should be negotiated automatically).
  102.  
  103. More to the point, I have also heard that (at least some models of) the
  104. HP-48 become "deaf" to incoming bytes for some number of milliseconds while
  105. switching their serial port from "send" to "receive", so if the client
  106. program is too fast, file transfers can fail.  The solution to this is to
  107. tell the client program to pause for a sufficient number of milliseconds
  108. prior to sending each packet:
  109.  
  110.   set send pause 100 ; or whatever number works
  111.  
  112. Postings on comp.sys.hp48 indicate that the HP-48 Kermit implementation
  113. "parses" incoming text-mode material on the fly, and appends the material
  114. from each incoming packet to a "string", resulting in a steadily
  115. deteriorating transfer rate, at least up to some point at which the HP-48
  116. dumps the string to storage and starts over with a new string.  There's not
  117. much that the Kermit client can do about that.
  118.  
  119. Any other hints from HP-48 users will be appreciated; I'll be glad to
  120. collect them into an FAQ.
  121.  
  122. - Frank